﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameSPK.Helpers
{
    #region #using Directives

    using System.Collections.ObjectModel;

    #endregion
    public class NguoiChoiCollection
    {
        public ObservableCollection<INguoiChoi> TapHopNguoiChoi { get; set; }
    }
    public interface INguoiChoi
    {
        bool IsEnabled { get; set; }
        String MaNguoiChoi { get; set; }
        String TenNguoiChoi { get; set; }
        String Video { get; set; }
        String ThongTin { get; set; }
    }
    public class dataNguoiChoi : INguoiChoi
    {
        public dataNguoiChoi()
        {
        }
        public dataNguoiChoi(String MaNguoiChoi, String TenNguoiChoi, String Video,String thongtin, bool chon)
        {
            this.MaNguoiChoi = MaNguoiChoi;
            this.TenNguoiChoi = TenNguoiChoi;
            this.Video = Video;
            this.ThongTin = thongtin;
            this.IsEnabled = chon;
        }
        public dataNguoiChoi(NguoiChoi nguoichoi, bool Chon)
        {
            this.MaNguoiChoi = nguoichoi.MaNguoiChoi;
            this.TenNguoiChoi = nguoichoi.TenNguoiChoi;
            this.Video = nguoichoi.Video;
            this.ThongTin = nguoichoi.ThongTin;
            this.IsEnabled = Chon;
        }
        public string MaNguoiChoi
        {
            get;
            set;
        }
        public string TenNguoiChoi { get; set; }
        public string Video { get; set; }

        public string ThongTin { get; set; }
        public bool IsEnabled { get; set; }
    }
    
}
